package site.wenneng.dev.objs.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class StoryTaskViewDTO {
    private String productId;
    private Integer projectId;
    private String type;
    private String key;
    private String id;
    private String number;
    private String title;
    private String statusName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private Date estimateStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private Date estimateFinishTime;
    private Integer remainDays;
    private String assigneeName;
    private Integer taskType;
    private Integer priority;
    private List<StoryVersionDTO> storyVersionList;
    private String version;
    private List<StoryTaskViewDTO> children;

}
